package com.cn.serverline;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling // task调度
@SpringBootApplication(scanBasePackages = {"cn.stylefeng","com.cn.serverline","com.serverTechnology"}, exclude = {FlywayAutoConfiguration.class})
@MapperScan(basePackages = {"cn.stylefeng.**.mapper", "com.cn.serverline.lineicp.**.mapper", "com.serverTechnology.**.mapper"})
@EnableFeignClients
@EnableAsync
public class ServerLineApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServerLineApplication.class, args);
    }

}
